# coding=utf-8
import mod.client.extraClientApi

clientApi = mod.client.extraClientApi
levelId = clientApi.GetLevelId()
compFactory = clientApi.GetEngineCompFactory()

localPlayer = clientApi.GetLocalPlayerId()

viewBinder = clientApi.GetViewBinderCls()
viewRequest = clientApi.GetViewViewRequestCls()


class ClientSystem(clientApi.GetClientSystemCls()):

    def __init__(self, namespace, systemName):
        super(ClientSystem, self).__init__(namespace, systemName)
        self.addEventListen(clientApi.GetEngineNamespace(), clientApi.GetEngineSystemName())

    def addEventListen(self, namespace, systemName):
        """
        :type namespace: str
        :type systemName: str
        """

    def Destroy(self):
        self.UnListenAllEvents()
